﻿using S.RBAC.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.RBAC.Infrastructure.Interface
{
    public interface IRoleJurisdictionRepository : IBaseRepository<RoleJurisdiction>
    {
        Task<List<RoleJurisdiction>> GetAllRoleJurisdiction();

        Task<RoleJurisdiction> GetRoleJurisdiction(int rjId);

        Task<int> DelRoleJurisdiction(int rjId);

        Task<int> AddRoleJurisdiction(RoleJurisdiction roleJurisdiction);

        Task<int> UpdRoleJurisdiction(RoleJurisdiction roleJurisdiction);
    }
}
